package dborm

import "time"

//Modbuscommands struct
type Modbuscommands struct {
	ID        int       `xorm:"not null pk autoincr INTEGER 'id'"`
	UUID      string    `xorm:"index not null TEXT 'uuid'"`
	Addr      int       `xorm:"not null INTEGER 'addr'"`
	Command   int       `xorm:"not null INTEGER 'command'"`
	RegStart  int       `xorm:"not null INTEGER 'reg_start'"`
	RegCount  int       `xorm:"not null INTEGER 'reg_count'"`
	CreatedAt time.Time `xorm:"created"`
	UpdatedAt time.Time `xorm:"updated"`
	DeletedAt time.Time `xorm:"deleted"`
	//string `xorm:""`
}
